package com.choosefine.it.basedata.service.Impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.choosefine.it.basedata.dao.FinishPhotoMapper;
import com.choosefine.it.basedata.model.FinishPhoto;
import com.choosefine.it.basedata.service.FinishPhotoService;

/**
 * 
 * @author chenjian
 * @date 2016-11-25 下午8:21:31
 */
@Service("finishPhotoService")
public class FinishPhotoServiceImpl implements FinishPhotoService {
	@Autowired
	FinishPhotoMapper finishPhotoMapper;
	@Override
	public List<FinishPhoto> findPhotoByProjectCode(String projectCode) {
		
//		return finishPhotoMapper.findPhotoByProjectCode(projectCode);
		return null;
	}
	@Override
	public List<String> findPhotoByUserCodeAndProjectCode(Map<String, Object> params) {
		return finishPhotoMapper.selectByUserCodeAndProjectCode(params);
	}

	@Override
	public List<String> findPhotoByTeamId(Integer teamid) {
		return finishPhotoMapper.selectByTeamid(teamid);
	}
	@Override
	public List<String> findByProjectCode(String projectCode) {
		return null;
	}

}
